#include "lom-value.hh"
#include "lom-instance-manager.hh"
#include "lom-errors.hh"

namespace lom
{

    void LomHandle::refData( THandle data, ILomInstanceManager* mgr ) 
    { 
	if ( mgr && data ) mgr->reference( data, false ); 
    }
    void LomHandle::unrefData( THandle data, ILomInstanceManager* mgr ) 
    { 
	if ( mgr && data ) mgr->dereference( data ); 
    }
}

